package site.jlopen.entity.vo;

import java.io.Serializable;

public class LoginRes implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5222586539345826639L;

	private Long id;
	
	private String name;
	
	private String password;
	
	private String redirect;
	
	public LoginRes(Long id, String name) {
		super();
		this.id = id;
		this.name = name;
		this.redirect = "/";
	}
	
	public LoginRes(Long id, String name, String redirect) {
		super();
		this.id = id;
		this.name = name;
		this.redirect = redirect;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRedirect() {
		return redirect;
	}

	public void setRedirect(String redirect) {
		this.redirect = redirect;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
}
